//
//  SNHomeCollectionViewCell.h
//  project
//
//  Created by 张淋 on 2019/6/22.
//  Copyright © 2019 黄建华. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "SNHomeModel.h"

NS_ASSUME_NONNULL_BEGIN

typedef void(^editBlock)(SNHomeModel *model);

@interface SNHomeCollectionViewCell : UICollectionViewCell
@property (weak, nonatomic) IBOutlet SNShadowView *backView;
@property (weak, nonatomic) IBOutlet UIImageView *imageView;
@property (weak, nonatomic) IBOutlet SNCustomLabel *valueLab;
@property (weak, nonatomic) IBOutlet SNCustomLabel *valueDesLab;
@property (weak, nonatomic) IBOutlet SNCustomLabel *hvAgLab;
@property (weak, nonatomic) IBOutlet SNCustomLabel *funtionTitleLab;
@property (weak, nonatomic) IBOutlet UIButton *editBtn;
@property (copy, nonatomic) editBlock block;
@property (nonatomic, strong) SNHomeModel *model;

- (void)configWithModel:(SNHomeModel *)model edit:(BOOL)edit;
- (IBAction)editAction:(UIButton *)sender;

@end

NS_ASSUME_NONNULL_END
